<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018-01-31
 * Time: 16:59
 */

namespace app\admin\model;


use think\Model;

class Aritcle extends Model
{
    //设置表名
    protected $table = 'tp_article';

    protected $pk = '';

    //添加文章
    public function addArticle($data){


    }

    //编辑文章
    public function editArticle($data){


    }

    //添加文章
    public function delArticle($data){


    }

}